package model;


/**
 * AnnexB entity. @author MyEclipse Persistence Tools
 */

public class AnnexB implements java.io.Serializable {

	// Fields

	private Integer annexId;
	private String sourceTable;
	private Integer sourceId;
	private Integer sourceType;
	private String fileName;
	private String extensionName;
	private String contentType;
	private Double annexSize;
	private String data;
	private String userId;
	private String createTime;
	private Integer isDel;

	// Constructors

	/** default constructor */
	public AnnexB() {
	}

	/** minimal constructor */
	public AnnexB(Integer sourceId, String fileName, String extensionName,
			String contentType, String data, Integer isDel) {
		this.sourceId = sourceId;
		this.fileName = fileName;
		this.extensionName = extensionName;
		this.contentType = contentType;
		this.data = data;
		this.isDel = isDel;
	}

	/** full constructor */
	public AnnexB(String sourceTable, Integer sourceId, Integer sourceType,
			String fileName, String extensionName, String contentType,
			Double annexSize, String data, String userId, String createTime,
			Integer isDel) {
		this.sourceTable = sourceTable;
		this.sourceId = sourceId;
		this.sourceType = sourceType;
		this.fileName = fileName;
		this.extensionName = extensionName;
		this.contentType = contentType;
		this.annexSize = annexSize;
		this.data = data;
		this.userId = userId;
		this.createTime = createTime;
		this.isDel = isDel;
	}

	// Property accessors

	public Integer getAnnexId() {
		return this.annexId;
	}

	public void setAnnexId(Integer annexId) {
		this.annexId = annexId;
	}

	public String getSourceTable() {
		return this.sourceTable;
	}

	public void setSourceTable(String sourceTable) {
		this.sourceTable = sourceTable;
	}

	public Integer getSourceId() {
		return this.sourceId;
	}

	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}

	public Integer getSourceType() {
		return this.sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getExtensionName() {
		return this.extensionName;
	}

	public void setExtensionName(String extensionName) {
		this.extensionName = extensionName;
	}

	public String getContentType() {
		return this.contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public Double getAnnexSize() {
		return this.annexSize;
	}

	public void setAnnexSize(Double annexSize) {
		this.annexSize = annexSize;
	}

	public String getData() {
		return this.data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDel() {
		return this.isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

}